<?php
namespace app\controller;

use app\BaseController;

class Demo extends BaseController
{
    public function show()
    {
        $ary = [
            "status" => 1
        ];

        return json($ary);
    }
    public function request(){
        dump($this->request->param());
    }


    public function model1(){
        $result = \app\common\model\mysql\Demo::find(1);
        dump($result->toArray());
    }
}
